package com.sh.pojo.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class CopyObjectsBO {
    @NotBlank(message = "桶不能为空！")
    private String bucket;
    @NotEmpty(message = "复制内容不能为空！")
    private List<CopyMeta> copyList;

    @Data
   public static class CopyMeta {
        private String sourcePath;
        private String targetPath;
    }
}
